package org.dromara.house.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dromara.house.domain.bo.ParkHousingBo;
import org.dromara.house.domain.entity.ParkContract;
import org.dromara.house.domain.entity.ParkHousingDetails;

@Mapper
public interface ParkHousingDetailsMapper extends BaseMapper<ParkHousingDetails> {
    Page<ParkHousingDetails> selectPageList(@Param("page") Page<Object> page,@Param("bo") ParkHousingBo bo);

    ParkHousingDetails selectParkHousingDetailsById(@Param("id") Long id);

    ParkContract selectParkContractByHouseId(@Param("id") Long id,@Param("housingId") Long housingId);
}
